package simple.entity;

import org.nutz.dao.entity.annotation.*;
import simple.common.BaseEntity;

@Table("tbl_menu")
public class MenuEntity extends BaseEntity {

    public static final String ROOT = "root";

    @Column(hump = true)
    private String menuTitle;
    @Column(hump = true)
    private String menuUrl;
    @Column(hump = true)
    private String parentId = "root";
    @Column(hump = true)
    private int orderNum;

    public String getMenuTitle() {
        return menuTitle;
    }

    public void setMenuTitle(String menuTitle) {
        this.menuTitle = menuTitle;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

}
